<?php if (isset($weiboLoginState['Id'])) { ?>
    <div class="am-radius am-alert am-alert-success">
        <div class="am-text-lg">新浪微博登陆成功</div>
        <p><a href="<?= $CfgPara->httproot ?>"
              class="am-radius am-btn am-btn-default am-btn-sm app-black-color">点击返回</a></p>
    </div>
<?php } elseif ($weiboLoginState === false) { ?>
    <div class="am-radius am-alert am-alert-success">首次登陆 设置用户名</div>
    <div class="am-form">
        <div class="am-form-group ">
            <label for="user_cfg_province">用户名(以后不可修改):</label>
            <input type="text" style="width:100%" id="set_user_weibo_name" name="user_weibo_name"
                   placeholder="英文\中文\数字\下划线" value="<?= $user_weibo_message['screen_name'] ?>">
        </div>
        <hr/>
        <button class="am-btn am-btn-primary am-fr" onclick="set_user_name()">确定</button>
    </div>
<?php } ?>
